package work.wiwf.web.model.sys.dao;

import org.apache.ibatis.annotations.Param;

import com.gitee.fastmybatis.core.mapper.CrudMapper;

import work.wiwf.web.model.sys.bean.entity.SysMenuEntity;
import work.wiwf.web.model.sys.bean.entity.SysUserEntity;
import work.wiwf.web.model.sys.bean.vo.SysRoleVo;
import work.wiwf.web.model.sys.bean.vo.SysUserVo;

public interface SysUserMapper extends CrudMapper<SysUserEntity, Integer> {

	SysUserVo getUserInfo(@Param("username") String userName);
	
	SysRoleVo getRoles(@Param("userId") String userId);
	
	SysMenuEntity getMenus(@Param("roleId") String roleId);
	
	
}
